import type { Metadata } from 'next'
import { Geist, Geist_Mono } from 'next/font/google'
import './globals.css'

const geistSans = Geist({
  variable: '--font-geist-sans',
  subsets: ['latin'],
})

const geistMono = Geist_Mono({
  variable: '--font-geist-mono',
  subsets: ['latin'],
})

export const metadata: Metadata = {
  title: 'Some Code and Text',
  applicationName: 'Some Code and Text',
  authors: { name: 'leolord', url: 'http://leolord.com' },
  keywords: ['react', 'personal', 'code'],
  description: 'For killing time.',
}

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode
}>) {
  return (
    <html lang="zh-CN">
      <body className={`${geistSans.variable} ${geistMono.variable} antialiased flex justify-center pt-10`}>
        <main className=" w-8/12">{children}</main>
      </body>
    </html>
  )
}
